
<h1><span class="yiyi-st" id="yiyi-15">numpy.polynomial.chebyshev.Chebyshev.truncate</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.chebyshev.Chebyshev.truncate.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.polynomial.chebyshev.Chebyshev.truncate.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="method">
<dt id="numpy.polynomial.chebyshev.Chebyshev.truncate"><span class="yiyi-st" id="yiyi-16"> <code class="descclassname">Chebyshev.</code><code class="descname">truncate</code><span class="sig-paren">(</span><em>size</em><span class="sig-paren">)</span><a class="reference external" href="http://github.com/numpy/numpy/blob/v1.11.3/numpy/polynomial/_polybase.py#L524-L551"><span class="viewcode-link">[source]</span></a></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-17">将序列截断到长度<em class="xref py py-obj">大小</em>。</span></p>
<p><span class="yiyi-st" id="yiyi-18">通过丢弃高度项将系列减少到长度<em class="xref py py-obj">size</em>。</span><span class="yiyi-st" id="yiyi-19"><em class="xref py py-obj">size</em>的值必须为正整数。</span><span class="yiyi-st" id="yiyi-20">这在最小二乘中是有用的，其中高次项的系数可以非常小。</span></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name">
<col class="field-body">
<tbody valign="top">
<tr class="field-odd field"><th class="field-name"><span class="yiyi-st" id="yiyi-21">参数：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-22"><strong>size</strong>：positive int</span></p>
<blockquote>
<div><p><span class="yiyi-st" id="yiyi-23">通过舍弃高度项将该系列减小到长度<em class="xref py py-obj">大小</em>。</span><span class="yiyi-st" id="yiyi-24"><em class="xref py py-obj">size</em>的值必须为正整数。</span></p>
</div></blockquote>
</td>
</tr>
<tr class="field-even field"><th class="field-name"><span class="yiyi-st" id="yiyi-25">返回：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-26"><strong>new_series</strong>：series</span></p>
<blockquote class="last">
<div><p><span class="yiyi-st" id="yiyi-27">截断系数的新系列实例。</span></p>
</div></blockquote>
</td>
</tr>
</tbody>
</table>
</dd></dl>
